package slidingPuzzle;

import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;

public class GUIPanel extends JPanel{
	//new Game botton
	public GUIPanel(){
		JButton newGameButton = new JButton("New Game");
		JButton autoSolveButton = new JButton("Solve for me!");
		JLabel puzzleSizeLabel = new JLabel("Puzzle Size :");
		JTextField puzzleSizeValue = new JTextField();
		
		JPanel gamePanel = new JPanel();
		gamePanel.setLayout(new FlowLayout());
		gamePanel.add(newGameButton);
		gamePanel.add(autoSolveButton);
		gamePanel.add(puzzleSizeLabel);	
		gamePanel.add(puzzleSizeValue);	
		gamePanel.show();
		
	}
	
	//puzzle Size select option
	//auto Solve
	
}
